(function(){
	if (!window.jQuery)
	{
		alert('jQuery not included!');
		return false;
	}
	if (!window.treeMenu)
	{
		alert('treeMenu class not included!');
		return false;
	}

	$(document).ready(function(){
		var menu = new treeMenu('.treemenu', 'http://localhost/gpsts/doc/treemenu/packaging/build/remote.php');
	});
})();